package com.groupbuying.redpacket.dao;

import com.groupbuying.redpacket.domain.ActivityThemeDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 活动表
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-11-22 14:02:14
 * @des
 */

@Mapper
@Repository
public interface ActivityThemeDao {

	ActivityThemeDO get(Long id);
	
	List<ActivityThemeDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ActivityThemeDO activityTheme);
	
	int update(ActivityThemeDO activityTheme);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	String getThemeName(Long id);

	List<ActivityThemeDO> listActivity();
}
